//
//  ZZMusicGroupCell.m
//  ZZBlue
//
//  Created by stonesMonkey on 2017/9/17.
//  Copyright © 2017年 stonesMonkey. All rights reserved.
//

#import "ZZMusicGroupCell.h"
#import "ZZMusicList.h"

@interface ZZMusicGroupCell()

@property (weak, nonatomic) IBOutlet UIImageView *arrowsImg;

@property (weak, nonatomic) IBOutlet UILabel *groupName;


@end

@implementation ZZMusicGroupCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    
}


- (void)setListModel:(ZZMusicList *)listModel {
    
    self.arrowsImg.transform = CGAffineTransformIdentity;
    _listModel = listModel;
    if(_listModel.isShow) {
        
        [self.arrowsImg setTransform:CGAffineTransformMakeRotation(M_PI / 2)];
    }
    
    self.groupName.text = listModel.listName;
    
}

@end
